Window.MenuBarVisible Property

Syntax

MenuBarVisible as Boolean


When set to False, the menu bar is hidden whenever the window is the frontmost non-floating window. It actually is designed to hide all system-wide UI.

On Macintosh, it also hides the Dock and any global floating windows. On Windows, it hides the Taskbar and Start button. If you only want to hide the menubar, set the MenuBar property to Nil.

Set MenuBarVisible to False and FullScreen to True to allow the window to 'take over' the entire screen. The menu bar will be redisplayed if another window (whose MenuBarVisible property is set to True) becomes frontmost, or when the application is put into the background.

MenuBarVisible defaults to True.